Open
Conversation
- OAuth2 기능 구현 준비
- SecurityConfig에 OAuth2 로그인 설정 추가 - OAuth2 관련 엔드포인트에 대한 접근 권한 설정
- GithubOAuthService 클래스 생성 - OAuth2User loadUser 메서드 구현 - GitHub API를 통한 사용자 이메일 및 이름 정보 가져오기 - 사용자 정보를 OAuth2User 형태로 변환하는 로직 추가
- OAuth2GithubSuccessHandler 클래스 생성 - 인증 성공 시 사용자 정보 처리 및 JWT 토큰 생성 - 신규 사용자 자동 등록 기능 구현 - 인증 후 리다이렉션 처리 - 임시 비밀번호 생성 및 암호화 로직 추가
IM-GYURI
reviewed
Aug 19, 2024
| public class PasswordEncoderConfig { | ||
|
|
||
| @Bean | ||
| public PasswordEncoder passwordEncoder() { |
Collaborator
There was a problem hiding this comment.
저도 은선님께서 말씀해주신 것처럼 PasswordEncoder를 Config로 따로 뺐더니 순환 참조 문제가 해결되었습니다! 감사해요 ㅎㅎ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
변경사항
AS-IS
TO-BE
테스트
추가 설명
/common/job-postings?page=1(메인 페이지)로 리다이렉션되도록 설정되어 있습니다.